Step by step installation on macOS

Since clang (libc++) has not implemented array specialization of std::shared_ptr (libc++ C++17 Status, P0414R2 etc.), cpprb cannot be compiled by clang.

Here we describe how to install cpprb on macOS using MacPorts.

sudo port selfupdate
sudo port install gcc9
sudo port select gcc mp-gcc9
git clone https://gitlab.com/ymd_h/cpprb.git
cd cpprb
CC=/opt/local/bin/g++ CXX=/opt/local/bin/g++ pip install .